package com.ziytek.web.citizen.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsAutoIncrement;
import com.gitee.sunchenbin.mybatis.actable.annotation.IsKey;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.ziytek.web.citizen.constant.TableConstant;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @className OfflineTaskTable
 * @description: 描述
 * @jdkVersion: 1.8
 * @author: fhx
 * @date: 2024/7/2 9:53
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = TableConstant.TABLE_OFFLINE_TASK_TABLE)
public class OfflineTaskTable {

    @TableId(type = IdType.AUTO)
    @IsKey
    @IsAutoIncrement
    @Column
    private Integer id;

    @Column(name = "createTime", comment = "创建时间")
    private Long createTime;

    @Column(name = "updateTime", comment = "修改时间")
    private Long updateTime;

    @Column(name = "cabinetNo", comment = "机柜编号")
    private String cabinetNo;

    @Column(name = "seqNo", comment = "序列号")
    private Integer seqNo;

    @Column(name = "remainTime", comment = "剩余执行时间 秒")
    private Integer remainTime;

}
